Skip to content

Conversation

@OhYee
Copy link
Member

@OhYee OhYee commented Jan 9, 2026

…ulti-language docs

This commit introduces comprehensive storage configuration capabilities for sandbox environments, including NAS mount configurations, OSS mount points, and PolarFS filesystem support. The changes span across multiple files to enhance the sandbox creation API with new configuration options and improve documentation with bilingual comments.

The modifications include:

  • Adding new model classes for NAS, OSS, and PolarFS configurations
  • Extending sandbox creation methods with optional storage parameters
  • Enhancing API endpoints to support new configuration options
  • Adding bilingual documentation (Chinese/English) for improved usability
  • Updating template files to reflect the new configuration parameters

New features include the ability to specify NAS mount points with TLS encryption, OSS bucket mount points with read-only options, and PolarFS filesystem configurations during sandbox creation. Additionally, the commit includes workflow documentation for adding parameters to specific modules.

此提交为沙箱环境引入了全面的存储配置功能,包括 NAS 挂载配置、OSS 挂载点和 PolarFS 文件系统支持。这些更改跨越多个文件,以使用新的配置选项增强沙箱创建 API,并使用双语注释改进文档。

修改包括:

  • 为 NAS、OSS 和 PolarFS 配置添加新的模型类
  • 使用可选存储参数扩展沙箱创建方法
  • 增强 API 端点以支持新配置选项
  • 添加双语文档(中文/英文)以提高可用性
  • 更新模板文件以反映新的配置参数

新功能包括在沙箱创建期间指定具有 TLS 加密的 NAS 挂载点、具有只读选项的 OSS 存储桶挂载点以及 PolarFS 文件系统配置的能力。此外,提交还包括为特定模块添加参数的工作流程文档。

Change-Id: I2c16129da2d4c21ccf4f495c0c6fe62737af933c

Thank you for creating a pull request to contribute to Serverless Devs agentrun-sdk-python code! Before you open the request please answer the following questions to help it be more easily integrated. Please check the boxes "[ ]" with "[x]" when done too.
Please select one of the PR types below to complete


Fix bugs

Bug detail

The specific manifestation of the bug or the associated issue.

Pull request tasks

  • Add test cases for the changes
  • Passed the CI test

Update docs

Reason for update

Why do you need to update your documentation?

Pull request tasks

  • Update Chinese documentation
  • Update English documentation

Add contributor

Contributed content

  • Code
  • Document

Content detail

if content_type == 'code' || content_type == 'document':
    please tell us `PR url`,like: https://github.com/Serverless-Devs/agentrun-sdk-python/pull/1
else:
    please describe your contribution in detail

Others

Reason for update

Why do you need to update your documentation?

OhYee added 3 commits January 12, 2026 09:42
…ulti-language docs

This commit introduces comprehensive storage configuration capabilities for sandbox environments, including NAS mount configurations, OSS mount points, and PolarFS filesystem support. The changes span across multiple files to enhance the sandbox creation API with new configuration options and improve documentation with bilingual comments.

The modifications include:
- Adding new model classes for NAS, OSS, and PolarFS configurations
- Extending sandbox creation methods with optional storage parameters
- Enhancing API endpoints to support new configuration options
- Adding bilingual documentation (Chinese/English) for improved usability
- Updating template files to reflect the new configuration parameters

New features include the ability to specify NAS mount points with TLS encryption, OSS bucket mount points with read-only options, and PolarFS filesystem configurations during sandbox creation. Additionally, the commit includes workflow documentation for adding parameters to specific modules.

此提交为沙箱环境引入了全面的存储配置功能,包括 NAS 挂载配置、OSS 挂载点和 PolarFS 文件系统支持。这些更改跨越多个文件,以使用新的配置选项增强沙箱创建 API,并使用双语注释改进文档。

修改包括:
- 为 NAS、OSS 和 PolarFS 配置添加新的模型类
- 使用可选存储参数扩展沙箱创建方法
- 增强 API 端点以支持新配置选项
- 添加双语文档(中文/英文)以提高可用性
- 更新模板文件以反映新的配置参数

新功能包括在沙箱创建期间指定具有 TLS 加密的 NAS 挂载点、具有只读选项的 OSS 存储桶挂载点以及 PolarFS 文件系统配置的能力。此外,提交还包括为特定模块添加参数的工作流程文档。

Change-Id: I2c16129da2d4c21ccf4f495c0c6fe62737af933c
Signed-off-by: OhYee <[email protected]>
Upgrade the alibabacloud-agentrun20250910 dependency from version 4.0.3 to 5.0.0
in pyproject.toml to incorporate the latest features and improvements.

This dependency update may include breaking changes as indicated by the major
version bump from 4.x to 5.x.

BREAKING CHANGE: alibabacloud-agentrun20250910 dependency updated to 5.0.0
which may introduce breaking changes requiring code adjustments.

升级 pyproject.toml 中的 alibabacloud-agentrun20250910 依赖从 4.0.3 到 5.0.0
以合并最新的功能和改进。

此依赖更新可能包含破坏性变更,如从 4.x 到 5.x 的主版本升级所示。

BREAKING CHANGE: alibabacloud-agentrun20250910 依赖更新到 5.0.0
可能会引入破坏性变更,需要进行代码调整。

Change-Id: I75eb26babece93b7d024364524ebfcfef5203eeb
Signed-off-by: OhYee <[email protected]>
remove sandbox_id parameter from create_sandbox methods and delete
the deprecated create_sandbox_with_input methods across client and
API implementations. also remove SandboxInput from imports and
update method signatures consistently.

移除 create_sandbox 方法中的 sandbox_id 参数并删除已弃用的方法

从 create_sandbox 方法中移除 sandbox_id 参数,并删除客户端和
API 实现中的已弃用的 create_sandbox_with_input 方法。
同时从导入中移除 SandboxInput 并一致地更新方法签名。

BREAKING CHANGE: removes sandbox_id parameter from create_sandbox
methods and deletes create_sandbox_with_input methods

破坏性变更:移除 create_sandbox 方法中的 sandbox_id 参数
并删除 create_sandbox_with_input 方法

Change-Id: Id0de4de5b8137d02e4f952a403622a0efd09cde7
Signed-off-by: OhYee <[email protected]>
@OhYee OhYee force-pushed the feat-dynamic-mount branch from 82ece95 to 4ba605a Compare January 12, 2026 03:18
…me across API modules

Replace RuntimeOptions import from alibabacloud_tea_util.models to darabonba.runtime
across multiple API control files and templates. This change affects agent runtime,
credential, model, sandbox, and toolset API modules along with their corresponding
templates used for code generation.

Additionally includes minor documentation updates in AioSandbox class to clarify
async method annotations and removes extra whitespace in browser sandbox health
check logging statements.

This appears to be part of a broader dependency migration from Tea SDK to Darabonba runtime.

//

重构运行时:将多个 API 模块中的 alibabacloud-tea-util 替换为 darabonba-runtime

将多个 API 控制文件和模板中的 RuntimeOptions 导入从 alibabacloud_tea_util.models
替换为 darabonba.runtime。此更改影响代理运行时、凭证、模型、沙箱和工具集 API 模块
以及用于代码生成的相应模板。

此外还包括对 AioSandbox 类的次要文档更新,以澄清异步方法注释,并删除浏览器
沙箱健康检查日志语句中的额外空白。

这似乎是将依赖项从 Tea SDK 迁移到 Darabonba 运行时的更广泛工作的一部分。

Change-Id: I525c91379d0aeef6b9f6692fb687dafa62b161e0
Signed-off-by: OhYee <[email protected]>
@OhYee OhYee merged commit c0e7489 into main Jan 12, 2026
2 checks passed
@OhYee OhYee deleted the feat-dynamic-mount branch January 12, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants